package com.example.easytts.service

object ThreadLocalIpHolder {
    private val threadLocal = ThreadLocal<String?>()

    fun set(ip: String?) {
        threadLocal.set(ip)
    }

    fun get(): String? {
        return threadLocal.get()
    }

    fun remove() {
        threadLocal.remove()
    }
} 